Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = void 0;

var host = "https://apis.map.qq.com/ws/staticmap/v2/", key = "T4QBZ-VGZW3-GOS3W-3LSUT-PDWMF-ARBIJ", _default = {
    serialize: function(t) {
        var e = "";
        for (var a in t) t.hasOwnProperty(a) && (e += "".concat(e ? "&" : "").concat(a, "=").concat(t[a]));
        return e;
    },
    createUrl: function(t) {
        return "".concat(host, "?").concat(this.serialize(Object.assign({
            key: key,
            zoom: 15,
            scale: 2
        }, t)));
    }
};

exports.default = _default;